<template>
  <div>
    <div class="shop">
      <img src="../assets/cy音乐.png" />
      <span>吃鱼商城</span>
    </div>
    <van-search
      shape="round"
      @focus="$router.push('/search')"
      placeholder="搜索商品"
    >
    </van-search>
  </div>
</template>
<style scoped lang="less">
.shop {
  position: relative;
  height: 50px;
  line-height: 50px;
  background: var(--cy-Color);
  img {
    width: 40px;
    position: absolute;
    top: 5px;
    left: 5px;
  }
  span {
    position: absolute;
    top: 0px;
    color: #ffedeb;
    left: 50px;
    font-size: 30px;
  }
}
</style>